//
// Created by Castle on 2025/10/29.
//

#include<stdio.h>

int main(){
    // 直角三角形判断
    int side1,side2,side3;
    printf("Please enter the lengths: ");

    scanf("%d%d%d",&side1,&side2,&side3);
    if(side1 * side1 + side2 * side2 == side3 * side3
        || side1 * side1 + side3 * side3 == side2 * side2
        || side2 * side2 + side3 * side3 == side1 * side1){
        printf("Rectangular triangle\n");
    }

    return 0;
}